package com.kr.lge;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HomeController {
	
	private static final Logger logger = LoggerFactory.getLogger(HomeController.class);
	
	
	@RequestMapping(value = "/", method = RequestMethod.GET)
	public String sample() {
		logger.info("Welcome home!");
		
		
		return "chartSample";
	}
	
	@RequestMapping(value = "/world.do", method = RequestMethod.GET)
	public String world() {
		logger.info("world");
		
		
		return "world";
	}
	
	@RequestMapping(value = "/gmap.do", method = RequestMethod.GET)
	public String gmap() {
		logger.info("gmap");
		
		
		return "google";
	}
	
	@RequestMapping(value = "/chart.do", method = RequestMethod.GET)
	public String chart() {
		logger.info("chart");
		
		
		return "chart";
	}
	
	@RequestMapping(value = "/highChart.do", method = RequestMethod.GET)
	public String highChart() {
		logger.info("highChart");
		
		
		return "highChart";
	}
	
	@RequestMapping(value = "/highChart2.do", method = RequestMethod.GET)
	public String highChart2() {
		logger.info("highChart");
		
		
		return "highChart2";
	}
	
	@RequestMapping(value = "/sChart.do", method = RequestMethod.GET)
	public String sChart() {
		logger.info("serviceChart");
		
		
		return "serviceChart";
	}
}
